home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 128 21
/
q21.d81
/
t.docs 5
< prev
next >
Wrap
Text File
|
2022-08-28
|
14KB
|
277 lines
COMMODORE RVS CODES
Commodore ASCII has a number of control codes besides all the so-called
printable characters. Printable characters are letters, numeric digits,
mathematic operators, punctuation and graphic characters. The others don't
print, but they control the screen output in various ways, for example by
changing the letter color. In DISKSERVANT we need to represent these
control characters in a way that won't change the screen output.
DISKSERVANT use reversed letters to represent the control characters. Many
of them will probably be familiar, as the C128s "quote mode" is a way known
to all BASIC programmers of using RVS characters in strings. For example,
pressing the HOME key while in quote mode will yield a RVS 's'. Below you
will find a list of all RVS code letters, along with their ASCII code value
and meaning.
RVS codes can also be entered using those DISKSERVANT utilities that require
text input. By holding down ALT, you can enter the "lowercase" RVS codes.
By holding down ALT and SHIFT simultaneously, you can enter the "uppercase"
RVS codes. Please use good sense though when entering RVS codes; using them
in a wrong way could mess things up considerably.
COMMODORE RVS CODE TABLE, Lowercase RVS codes:
DEC HEX RVS code Function Alternative entry
0 00 @ Null character
1 01 a -
2 02 b Underline ON (80 col.)
3 03 c RUN/STOP key ALT/RUN/STOP
4 04 d -
5 05 e White CONTROL/2
6 06 f -
7 07 g Bell tone
8 08 h SHIFT/C= OFF (64 mode)
9 09 i Tab (SHIFT/C= ON, 64 mode) ALT/TAB
10 0A j Line feed ALT/LINE FEED
11 0B k SHIFT/C= OFF (128 mode)
12 0C l SHIFT/C= ON (128 mode)
13 0D m RETURN ALT/RETURN
14 0E n Switch to lowercase
15 0F o Flash ON (80 col.)
16 10 p -
17 11 q Cursor down ALT/CRSR DOWN
18 12 r Reverse ON CONTROL/9
19 13 s Home ALT/HOME
20 14 t Delete ALT/DEL
21 15 u -
22 16 v -
23 17 w -
24 18 x -
25 19 y -
26 1A z -
27 1B [ ESCAPE* ALT/ESC
28 1C \ Red CONTROL/3
29 1D ] Cursor right ALT/CRSR RIGHT
30 1E ^ Green CONTROL/6
31 1f
Blue CONTROL/7
* The ASCII character immediately following the code will determine the
actual function. Please refer to the table "Escape Codes" for a rundown of
the Escape Sequence Codes.
COMMODORE RVS CODE TABLE, Uppercase RVS codes:
DEC HEX RVS code Function Alternative entry
128 80 {SHIFT-*}
129 81 A Orange/dark purple CBM/1
130 82 B Underline off
131 83 C SHIFT-RUN/STOP ALT/SH/RUN/STOP
132 84 D HELP ALT/HELP
133 85 E F1 ALT/f1
134 86 F F3 ALT/f3
135 87 G F5 ALT/f5
136 88 H F7 ALT/f7
137 89 I F2 ALT/SHIFT/f2
138 8A J F4 ALT/SHIFT/f4
139 8B K F6 ALT/SHIFT/f6
140 8C L F8 ALT/SHIFT/f8
141 8D M SHIFT/RETURN ALT/SHIFT/RETURN
142 8E N Switch to uppercase
143 8f O Flash off
144 90 P Black CONTROL/1
145 91 Q Cursor up ALT/CRSR UP
146 92 R Reverse off
147 93 S Clear screen ALT/SHIFT/CLR
148 94 T Insert ALT/SHIFT/INST
149 95 U Brown/dark yellow CBM/2
150 96 V Light red CBM/3
151 97 W Dark gray/dark cyan CBM/4
152 98 X Medium gray CBM/5
153 99 Y Light green CBM/6
154 9A Z Light blue CBM/7
155 9B {SHIFT-+} Light gray CBM/8
156 9C {CBM--} Purple CONTROL/5
157 9D {SHIFT--} Cursor left ALT/CRSR LEFT
158 9E {CBM-+} Yellow CONTROL/8
159 9F {CBM-*} Cyan CONTROL/4
ESCAPE CODES:
Whenever you see or use a RVS [, the following ASCII character will
determine the actual function of the Escape Code Sequence. Please note that
the letters in this table should NOT be entered as a RVS code, but rather as
a normal lowercase letter. The 128 supports the following codes:
DEC HEX Letter Function
64 40 @ Erase to end of screen window
65 41 a Auto-insert ON
66 42 b Set window bottom right corner
67 43 c Auto-insert OFF
68 44 d Delete logical line
69 45 e Cursor blink OFF
70 46 f Cursor blink ON
71 47 g Bell enable
72 48 h Bell disable
73 49 i Insert blank line
74 4A j Go to start of line
75 4B k Go to end of line
76 4C l Screen scroll ON
77 4D m Screen scroll OFF
78 4E n Reverse OFF (80 col. only)
79 4F o Quote/insert mode OFF (also ESC-ESC)
80 50 p Erase from start of line to cursor
81 51 q Erase from cursor to end of line
82 52 r Reverse ON (80 col. only)
83 53 s Block cursor (80 col. only)
84 54 t Set top left corner of window
85 55 u Underline cursor (80 col. only)
86 56 v Scroll up
87 57 w Scroll down
88 58 x Swap 40/80 display
89 59 y Set default tabs, 8 characters spacing
90 5A z Clear all tabs
* * * HARDWARE PROBLEMS * * *
Commodore computer systems has always had bugs and quirks of varying
severity. Some of the quirks may affect the operation when DISKSERVANT is
in charge of operations. Several known bugs has been circumvented in the
design of DISKSERVANT, but then there are some that can't be patched over.
Below you'll find a list of the bugs and quirks known by the author that you
may encounter.
ALL DISK DRIVES:
When you attempt to exceed the number of files permitted, odd things
sometimes happens. The problem is worst on the 1571 (and possibly the
1541). Space is allocated for the new file while there is no room for the
file name in the directory. The bug will especially affect the file copier.
If you see the error message "disk full", you should validate the disk to
put things right again. It should be noted that you won't encounter the
disk full error if the file copier runs out of disk space (not exceeding the
maximum number of files). A safeguard system prevents that. So far, I have
not found a way to circumvent the problems that occur when you try to save
too many files. So for the time being, validate the disk after a disk full
error.
1571 DISK DRIVE:
The bugs apply to the 128D portable (128D with cooling fan and carrying
handle), and the stand-alone 1571. However, upgrade ROM's has been released
by Commodore to fix all problems. The Commodore part number of this ROM is
310654-05. An even better alternative is JiffyDOS, which further enhances
the performance of your system.
Problems that may occur using "old-ROM" 1571's with DISKSERVANT:
1) Random "device not present" errors. DISKSERVANT may give up and make a
bell tone on the Main Menu or aborting by displaying "I/O error".
2) File corruption. When a file use blocks on both sides of the disk, it
will sometimes get corrupted. Affects the File Copier.
3) The drive can't burst load "locked" files. A